#include <stdio.h>
#include <stdlib.h>

int main(void)
{

	char *data;
	long m,n;
	printf("Content-Type:text/html;charset=gb2312\n\n");
	printf("<TITLE> answer</title>\n\n");
	printf("<H3>answer</H3>\n\n");
	data=getenv("QUERY_STRING");
	if(data == NULL)
		printf("<p>error no input </p>\n\n");
	else if(sscanf(data,"m=%ld&n=%ld",&m,&n)!=2)
		printf("<p>error input error must is number</p>\n\n");
	else
		printf("<p>%ld*%ld=%ld\n\n</p>",m,n,m*n);
	return 0;	
}

